/**
 * Created with  SublimeText
 * @Author:      Lyle
 * @DateTime:    2017-05-11 16:33:15
 * @Description: 
 */

import './global'
import Vue from 'vue'
import App from './App'
import { sync } from 'vuex-router-sync'
import router from './router'
import store from './store'
import i18n from './i18n/index'
import scroll from './plugins/base'

//Rely on strophe load
import './lib/candy/mucPluginStrophe'
import MiniIM from './lib/candy/candy'

Vue.use(i18n);
Vue.use(scroll);

sync(store, router);
global.MiniIM = MiniIM;

new Vue({
    el: '#app',
    router,
    store,
    template: '<App/>',
    components: { App }
})
